package cn.example.vip.mall.user;

import cn.example.vip.mall.filter.CORSFilter;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin
@Import({
//	AuthMvcConfig.class,	// 登录拦截器(测试)
	CORSFilter.class	// 跨域过滤器
})
@MapperScan("cn.example.vip.mall.user.mapper")
@SpringBootApplication
public class MallUserApplication {
	public static void main(String[] args) {
		SpringApplication.run(MallUserApplication.class, args);
	}
}
